﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Customer
/// </summary>
public class Admin
{

    private string id;
    private string username;
    private string password;
    private string fullname;
    private DateTime dateofbirth;
    private bool gender;
    private string address;
    private string phone;
    

    public string Id
    {
        get { return id; }
        set { id = value; }
    }   
    public string Username
    {
        get { return username; }
        set { username = value; }
    }

    public string Password
    {
        get { return password; }
        set { password = value; }
    }

    public string Fullname
    {
        get { return fullname; }
        set { fullname = value; }
    }

    public DateTime Dateofbirth
    {
        get { return dateofbirth; }
        set { dateofbirth = value; }
    }

    public bool Gender
    {
        get { return gender; }
        set { gender = value; }
    }

    public string Address
    {
        get { return address; }
        set { address = value; }
    }

    public string Phone
    {
        get { return phone; }
        set { phone = value; }
    }



  

    public Admin()
    {
        this.id = "";
        this.username = "";
        this.password = "";
        this.fullname = "";
        this.dateofbirth = DateTime.Now.AddYears(-18);
        this.gender = true;
        this.address = "";
        this.phone = "";


    }
    public Admin(string _id, string _username, string _password, string _fullname, DateTime _dateofbirth, bool _gender, string _address, string _phone)
    {
        this.id = _id;
        this.username = _username;
        this.password = _password;
        this.fullname = _fullname;
        this.dateofbirth = _dateofbirth;
        this.gender = _gender;
        this.address = _address;
        this.phone = _phone;



    }

}